package classes.libsvm;
import java.io.*;

public class intex_node extends svm_node {

  // number of feature types
  static public int FT = 5;

  public String[][] m_value;

  public void write(DataOutputStream fp) throws IOException
  {
    if (m_value.length > 0)
      assert m_value[0].length == FT;

    for (int i = 0; i < m_value.length; i++)
      for (int j = 0; j < m_value[i].length; j++)
	if (m_value[i][j] == null)
	  fp.writeBytes("~ ");
	else
	  fp.writeBytes(m_value[i][j] + " ");
  }
  
}

